export type Awaitable<T> = Promise | T;

export async function interopDefault<_T>(m: Awaitable): Promise {
  const resolved = await m;
  return (resolved as any).default || resolved;
}
